package main

import (
	"github.com/gin-gonic/gin"
	"soul/api"
	"soul/appconfig"
	"soul/initiate"
)

func main() {
	r := gin.Default()
	appconfig.GetViperData()
	initiate.MysqlInt()
	initiate.RedisInit()
	api.UserLogin(r)
	r.Run() // 监听并在 0.0.0.0:8080 上启动服务
}
